package com.stu.covid.business.mapper;

import com.stu.covid.business.entity.User;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

@org.apache.ibatis.annotations.Mapper
public interface UserMapper extends Mapper<User> {

    @Select("select * from sy_user where username = #{value}")
    User findByUsername(String username);
}